package June;

public class Test07Static01Class {
    private String name;
    //static静态类
    public static String teacher;


    public Test07Static01Class() {
    }

    public Test07Static01Class(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacher() {
        return teacher;
    }


    public void show() {
        System.out.println("姓名：" + name + "，老师:" + teacher);
    }
}
